<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>侧边栏-FICO</title>
</head>
<body>

<th:block th:fragment="sidebar"
          th:with="ficoURL = ${session.FICO.value},erpURL = ${session.ERP.value},umsURL = ${session.UMS.value},perfURL = ${session.PERFORMANCE!=null?session.PERFORMANCE.value:session.PERF.value},financeURL = ${session.FINANCE.value}">
    <!--  财务系统FICO-->
    <li data-name="fico-menu" class="layui-nav-item">
        <div class="system">财务系统FICO</div>
        <!--  资金账户审核管理  -->
<!--        <dl class="layui-nav-child show">-->
<!--            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/erp/asset/account/*.action')}">-->
<!--                <a href="javascript:;" lay-tips="资金账户审核管理" lay-direction="2">-->
<!--                    <i class="layui-icon layui-icon-set"></i>-->
<!--                    <cite>资金账户审核管理</cite>-->
<!--                </a>-->
<!--                <dl class="layui-nav-child">-->
<!--                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/newbiz/asset/account/balance/list')}">-->
<!--                        <a th:lay-href="|${erpURL}/newbiz/asset/account/balance/list.action|">质保金审核</a>-->
<!--                    </dd>-->
<!--                </dl>-->
<!--            </dd>-->
<!--        </dl>-->
        <!-- 财务管理 -->
    <!--    <dl class="layui-nav-child show">
            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/zs/fico/mng/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-set"></i>
                    <cite>财务管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/zs/fico/masterreward/list.action')}">
                        <a th:lay-href="|${ficoURL}/masterreward/list.action|">师傅提成</a>
                    </dd>
                    <dd th:if="${#authPermit.checkMenuPermit('/zs/fico/channel/bill.action')}">
                        <a th:lay-href="|${ficoURL}/channel/settlement/summary/list.action|">渠道结算</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/zs/fico/config/master/*.action')}">
                        <a href="javascript:;">师傅提成配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/config/master/reward.action')}">
                                <a th:lay-href="|${ficoURL}/config/master/reward.action?plat=10|">啄木鸟提成配置</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zs/fico/config/master/cnhbreward.action')}">
                                <a th:lay-href="|${ficoURL}/config/master/reward.action?plat=40|">川南环保提成配置</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>
        &lt;!&ndash; 充值管理 &ndash;&gt;
        <dl class="layui-nav-child show">
            <dd data-name="button"
                th:if="${#authPermit.checkMenuPermits(false,'/crm/user/rechargeList.action','/marketing/activity/recharge/list.action','/ys/fico/report/report/charge/detail/list.action')}">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-rmb"></i>
                    <cite>充值管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermits(false,'/crm/user/rechargeList.action','/marketing/activity/recharge/list.action')}">
                        <a href="javascript:;">啄木鸟充值</a>
                        <dl class="layui-nav-child">
                            <dd th:if="${#authPermit.checkMenuPermit('/crm/user/rechargeList.action')}">
                                <a th:lay-href="|${umsURL}/crm/user/rechargeList.action|">政企充值</a>
                            </dd>
                            <dd th:if="${#authPermit.checkMenuPermit('/marketing/activity/recharge/list.action')}">
                                <a th:lay-href="|${umsURL}/marketing/activity/recharge/list.action|">政企充值优惠</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="button"
                        th:if="${#authPermit.checkMenuPermits(false,'/ys/fico/report/report/charge/detail/list.action')}">
                        <a href="javascript:;">言而有信充值</a>
                        <dl class="layui-nav-child">
                            <dd th:if="${#authPermit.checkMenuPermit('/ys/fico/report/report/charge/detail/list.action')}">
                                <a th:lay-href="|${ficoURL}/report/charge/detail/list.action|">厂商充值</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>-->

        <!-- ERP-收付款管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/receipt/payment/new/*.action')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-rmb"></i>
                    <cite>收付款管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/receipt/new/*.action')}">
                        <a href="javascript:;">收款管理</a>
                        <dl class="layui-nav-child">

                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/receipt/new/statement/list.action')}">
                                <a th:lay-href="|${erpURL}/receipt/new/statement/list.action|" target="navTab"
                                   rel="w_product">结算收款管理</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/receipt/new/recharge/list.action')}">
                                <a th:lay-href="|${erpURL}/receipt/new/recharge/list.action|" target="navTab"
                                   rel="w_product">充值收款管理</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/payment/new/*.action')}">
                        <a href="javascript:;">付款管理</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/payment/new/statement/list.action')}">
                                <a th:lay-href="|${erpURL}/payment/new/statement/list.action|">结算付款管理</a>
                            </dd>
                        </dl>
                        <dl class="layui-nav-child"
                            th:if="${#authPermit.checkMenuPermit('/payment/new/carryover/list.action')}">
                            <dd data-name="list">
                                <a th:lay-href="|${erpURL}/payment/new/carryover/list.action|">结转付款管理</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- ERP-啄木鸟平台结算管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/erp/newbiz/statement/zmn/*.action')}">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-rmb"></i>
                    <cite>啄木鸟平台结算管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/zmn/statement/order/charges/*.action')}">
                        <a href="javascript:;">订单收费</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/zmn/channel/receive/list.action')}">
                                <a th:lay-href="|${erpURL}/statement/zmn/channel/receive/list.action|">渠道收款结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/zmn/betweenplatforms/orderreceive/list.action?statementType=1602&plat=10')}">
                                <!--自营转啄木鸟,展示应收转包费-->
                                <a th:lay-href="|${erpURL}/statement/zmn/betweenplatforms/orderreceive/list.action?statementType=1602&plat=10|">订单收费结算</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/zmn/statement/plat/transfer/*.action')}">
                        <a href="javascript:;">订单转平台</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/zmn/betweenplatforms/transferordershare/list.action?statementType=1701&plat=10')}">
                                <!--自营转啄木鸟,展示应付订单收费-->
                                <a th:lay-href="|${erpURL}/statement/zmn/betweenplatforms/transferordershare/list.action?statementType=1701&plat=10|">订单转单结算</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/zmn/statement/plat/share/*.action')}">
                        <a href="javascript:;">平台各方分润</a>
                        <dl class="layui-nav-child">
                            <!--  -->
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/engineer/share/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/engineer/share/list|">工程师结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/sp/share/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/sp/share/list|">服务商结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/engsupervisor/share/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/engsupervisor/share/list|">主管结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/platshare/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/platshare/list|">总司结算(平台信息)</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/deposit/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/deposit/list|">质保金结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/agency/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/agency/list|">保险总司结算（平台）</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/info/managecost/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/info/managecost/list|">子公司结算(交付管理)</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/zmn/betweenplatforms/transferordershare/list.action?statementType=1802&plat=10')}">
                                <!--平台转自营,展示zmn应收转单费-->
                                <a th:lay-href="|${erpURL}/statement/zmn/betweenplatforms/transferordershare/list?statementType=1802&platSource=10|"
                                   lay-tips="平台间-总司结算(转单费)">平台间-总司结算(转单费)</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/cooperationbonus/engineer/list')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/cooperationbonus/engineer/list.action|"
                                   lay-tips="合作奖励工程师结算">合作奖励工程师结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/cooperationbonus/zmn/list')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/cooperationbonus/zmn/list.action|"
                                   lay-tips="合作奖励总公司结算">合作奖励总公司结算</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list">
                        <a href="javascript:;"
                           th:if="${#authPermit.checkMenuPermit('/zmn/statement/plat/fee/*.action')}">平台费用</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/insurance/list.action')}">
                                <a th:lay-href="|${erpURL}/zmn/statement/insurance/list|">保险费结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/zmn/channel/com/list.action')}">
                                <a th:lay-href="|${erpURL}/statement/zmn/channel/com/list|">渠道佣金结算</a>
                            </dd>
                            <!--<dd data-name="list">-->
                            <!--<a th:lay-href="|${erpURL} ">开票费结算</a>-->
                            <!--</dd>-->
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/zmn/paycommission/list')}">
                                <a th:lay-href="|${erpURL}/statement/zmn/paycommission/list|">支付手续费结算</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- ERP-言而有信平台结算管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/erp/newbiz/statement/yeyx/*.action')}">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-rmb"></i>
                    <cite>言而有信平台结算管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/yeyx/statement/order/charges/*.action')}">
                        <a href="javascript:;">订单收入</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/yeyx/fcshare/list.action')}">
                                <a th:lay-href="|${erpURL}/statement/yeyx/fcshare/list|">厂商结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/yeyx/channel/receive/list.action')}">
                                <a th:lay-href="|${erpURL}/statement/yeyx/channel/receive/list|">渠道收款结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/yeyx/betweenplatforms/orderreceive4Plat/list.action?statementType=1702&plat=20')}">
                                <!--平台转自营,展示应收订单收费-->
                                <a th:lay-href="|${erpURL}/statement/yeyx/betweenplatforms/orderreceive4Plat/list?statementType=1702&plat=20|"
                                   lay-tips="平台间-订单收入结算(平台)">平台间-订单收入结算(平台)</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/yeyx/betweenplatforms/orderreceive4PTYTrading/list.action?statementType=1602&plat=20')}">
                                <!--自营转自营,展示应收转包费-->
                                <a th:lay-href="|${erpURL}/statement/yeyx/betweenplatforms/orderreceive4PTYTrading/list?statementType=1602&plat=20|"
                                   lay-tips="平台间-订单收入结算(自营)">平台间-订单收入结算(自营)</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/yeyx/statement/plat/cost/*.action')}">
                        <a href="javascript:;">平台成本</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/yeyx/statement/engineer/share/list.action')}">
                                <a th:lay-href="|${erpURL}/yeyx/statement/engineer/share/list|">工程师结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/yeyx/statement/sp/share/list.action')}">
                                <a th:lay-href="|${erpURL}/yeyx/statement/sp/share/list|">服务商结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/yeyx/statement/partsSupplier/list.action')}">
                                <a th:lay-href="|${erpURL}/yeyx/statement/partsSupplier/list|">供应链结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/yeyx/statement/info/managecost/list.action')}">
                                <a th:lay-href="|${erpURL}/yeyx/statement/info/managecost/list|">子公司结算(交付管理)</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/yeyx/statement/plat/transfer/*.action')}">
                        <a href="javascript:;">订单销售</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/yeyx/betweenplatforms/orderreceive4Plat/list.action?statementType=1801&plat=20')}">
                                <!--自营转平台,展示应付转单费-->
                                <a th:lay-href="|${erpURL}/statement/yeyx/betweenplatforms/orderreceive4Plat/list?statementType=1801&plat=20|"
                                   lay-tips="平台间-转单费结算（平台）">平台间-转单费结算（平台）</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/yeyx/betweenplatforms/orderreceive4PTYTrading/list.action?statementType=1601&plat=20')}">
                                <!--自营转自营,展示应付转包费-->
                                <a th:lay-href="|${erpURL}/statement/yeyx/betweenplatforms/orderreceive4PTYTrading/list?statementType=1601&plat=20|"
                                   lay-tips="平台间-订单销售结算（平台/自营）">平台间-订单销售结算（平台/自营）</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/yeyx/statement/plat/fee/*.action')}">
                        <a href="javascript:;">平台费用</a>
                        <dl class="layui-nav-child">
                            <!--<dd data-name="list">-->
                            <!--<a>开票手续费</a>-->
                            <!--</dd>-->
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/yeyx/statement/insurance/list.action')}">
                                <a th:lay-href="|${erpURL}/yeyx/statement/insurance/list|">保险费结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/yeyx/channel/com/list.action')}">
                                <a th:lay-href="|${erpURL}/statement/yeyx/channel/com/list|">渠道佣金结算</a>
                            </dd>
                            <!--<dd data-name="list">
                                <a th:lay-href="|${erpURL}/statement/yeyx/paycommission/list|">支付手续费结算</a>
                            </dd>-->
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- ERP-川南环保平台结算管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/erp/newbiz/statement/cnhb/*.action')}">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-rmb"></i>
                    <cite>川南环保平台结算管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/cnhb/statement/order/charges/*.action')}">
                        <a href="javascript:;">订单收入</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/cnhb/channel/receive/list.action')}">
                                <a th:lay-href="|${erpURL}/statement/cnhb/channel/receive/list|">渠道收款结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/cnhb/betweenplatforms/orderreceive4Plat/list.action?statementType=1702&plat=40')}">
                                <!--平台转自营,展示应收订单收费-->
                                <a th:lay-href="|${erpURL}/statement/cnhb/betweenplatforms/orderreceive4Plat/list?statementType=1702&plat=40|"
                                   lay-tips="平台间-订单收入结算（平台）">平台间-订单收入结算（平台）</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/cnhb/betweenplatforms/orderreceive4PTYTrading/list.action?statementType=1602&plat=40')}">
                                <!--自营转自营,展示应收转包费-->
                                <a th:lay-href="|${erpURL}/statement/cnhb/betweenplatforms/orderreceive4PTYTrading/list?statementType=1602&plat=40|"
                                   lay-tips="平台间-订单收入结算（自营）">平台间-订单收入结算（自营）</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/cnhb/statement/plat/transfer/*.action')}">
                        <a href="javascript:;">订单转单</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/cnhb/betweenplatforms/orderreceive4Plat/list.action?statementType=1801&plat=40')}">
                                <!--自营转平台,展示应付转单费-->
                                <a th:lay-href="|${erpURL}/statement/cnhb/betweenplatforms/orderreceive4Plat/list?statementType=1801&plat=40|"
                                   lay-tips="转单费结算（平台）">转单费结算（平台）</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/cnhb/betweenplatforms/orderreceive4PTYTrading/list.action?statementType=1601&plat=40')}">
                                <!--自营转自营或平台,展示应付转包费-->
                                <a th:lay-href="|${erpURL}/statement/cnhb/betweenplatforms/orderreceive4PTYTrading/list?statementType=1601&plat=40|"
                                   lay-tips="平台间-订单销售结算（平台/自营）">平台间-订单销售结算（平台/自营）</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/cnhb/statement/plat/cost/*.action')}">
                        <a href="javascript:;">平台成本</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/statement/sp/share/list.action')}">
                                <a th:lay-href="|${erpURL}/cnhb/statement/sp/share/list|">服务商结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/statement/engsupervisor/share/list.action')}">
                                <a th:lay-href="|${erpURL}/cnhb/statement/engsupervisor/share/list|">主管结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/statement/engineer/share/list.action')}">
                                <a th:lay-href="|${erpURL}/cnhb/statement/engineer/share/list|">工程师结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/statement/partsSupplier/list.action')}">
                                <a th:lay-href="|${erpURL}/cnhb/statement/partsSupplier/list|">供应链结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/statement/info/managecost/list.action')}">
                                <a th:lay-href="|${erpURL}/cnhb/statement/info/managecost/list|">子公司结算(交付管理)</a>
                            </dd>
                        </dl>
                    </dd>
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/cnhb/statement/plat/fee/*.action')}">
                        <a href="javascript:;">平台费用</a>
                        <dl class="layui-nav-child">
                            <!--                            <dd data-name="list">-->
                            <!--                                <a>开票费结算</a>-->
                            <!--                            </dd>-->
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/cnhb/statement/insurance/list.action')}">
                                <a th:lay-href="|${erpURL}/cnhb/statement/insurance/list|">保险费结算</a>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/statement/cnhb/channel/com/list.action')}">
                                <a th:lay-href="|${erpURL}/statement/cnhb/channel/com/list|">渠道佣金结算</a>
                            </dd>
                            <!--                            <dd data-name="list">-->
                            <!--                                <a th:lay-href="|${erpURL}/statement/cnhb/paycommission/list|">支付手续费结算</a>-->
                            <!--                            </dd>-->
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 子公司结算管理 -->
        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermit('/erp/newbiz/statement/subcompany/*.action')}">
            <a href="javascript:;" lay-direction="2">
                <i class="layui-icon layui-icon-set"></i>
                <cite>子公司结算管理</cite>
            </a>
            <dl class="layui-nav-child">
                <dd data-name="button"
                    th:if="${#authPermit.checkMenuPermit('/statement/subcompany/betweenplatforms/list.action?statementType=1601&plat=10')}">
                    <!--子公司转平台(转出),展示应付转包费-->
                    <a th:lay-href="|${erpURL}/statement/subcompany/betweenplatforms/list?statementType=1601&plat=10|">平台间-订单销售结算</a>
                </dd>
            </dl>
        </dl>

        <!-- 质保金管理 -->
<!--        <dl class="layui-nav-child show" th:if="${#authPermit.checkMenuPermit('/erp/deposit/*.action')}">-->
<!--            <a href="javascript:;" lay-direction="2">-->
<!--                <i class="layui-icon layui-icon-set"></i>-->
<!--                <cite>质保金管理</cite>-->
<!--            </a>-->
<!--            &lt;!&ndash;<dl class="layui-nav-child">&ndash;&gt;-->
<!--                &lt;!&ndash;<dd data-name="button" th:if="${#authPermit.checkMenuPermit('/erp/report/zmn/deposit.action')}">&ndash;&gt;-->
<!--                    &lt;!&ndash;<a th:lay-href="|${erpURL}/statement/deposit/list|">质保金管理</a>&ndash;&gt;-->
<!--                &lt;!&ndash;</dd>&ndash;&gt;-->
<!--            &lt;!&ndash;</dl>&ndash;&gt;-->
<!--            <dl class="layui-nav-child">-->
<!--                <dd data-name="button"-->
<!--                    th:if="${#authPermit.checkMenuPermit('/newbiz/deposit/deductionDetail/view.action')}">-->
<!--                    <a lay-tips="质保金扣款失败明细" th:lay-href="|${erpURL}/newbiz/deposit/deductionDetail/view.action|">质保金扣款失败明细</a>-->
<!--                </dd>-->
<!--            </dl>-->
<!--            <dl class="layui-nav-child">-->
<!--                <dd data-name="button"-->
<!--                    th:if="${#authPermit.checkMenuPermit('/newbiz/orderfail/rechargedetail/list')}">-->
<!--                    <a lay-tips="充值订单失败明细" th:lay-href="|${erpURL}/newbiz/orderfail/rechargedetail/list.action|">充值订单失败明细</a>-->
<!--                </dd>-->
<!--            </dl>-->
<!--        </dl>-->
        <!-- ERP-原始凭证 -->
        <dl class="layui-nav-child show">
            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/erp/voucher/*.action')}">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-form"></i>
                    <cite>原始凭证</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/voucher/new/list?syncStatus=4.action')}">
                        <a th:lay-href="|${erpURL}/voucher/new/list?syncStatus=4|">业务应收应付凭证</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/voucher/new/list.action')}">
                        <a th:lay-href="|${erpURL}/voucher/new/list|">财务应收应付凭证</a>
                    </dd>
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermit('/voucher/new/list?syncStatus=4.action')}">
                        <a th:lay-href="|${erpURL}/voucherFund/new/list?syncStatus=4|">业务收款付款凭证</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/voucher/new/list.action')}">
                        <a th:lay-href="|${erpURL}/voucherFund/new/list|">财务收款付款凭证</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/orderSettleSnapshot/engineer/list')}">
                        <a th:lay-href="|${erpURL}/orderSettleSnapshot/engineer/list|">工程师订单算账快照查询</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/orderSettleSnapshot/sp/list')}">
                        <a th:lay-href="|${erpURL}/orderSettleSnapshot/sp/list|">服务商订单算账快照查询</a>
                    </dd>
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/orderSettleSnapshot/supervisor/list')}">
                        <a th:lay-href="|${erpURL}/orderSettleSnapshot/supervisor/list|">产品主管订单算账快照查询</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- ERP-财务配置 -->
        <dl class="layui-nav-child show">
            <dd data-name="list">
                <a href="javascript:void(0);" lay-direction="2">
                    <i class="layui-icon layui-icon-set"></i>
                    <cite>新财务配置</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/company/*.action')}">
                        <a href="javascript:void(0);">公司费用配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/conf/company/settle/list.action')}">
                                <a th:lay-href="|${erpURL}/conf/company/settle/list.action|" lay-text="公司子公司分润配置">公司子公司分润配置</a>
                            </dd>
                            <dd data-name="button" th:if="${#authPermit.checkMenuPermit('/conf/turn/list.action')}">
                                <a th:lay-href="|${erpURL}/conf/turn/list.action|" lay-text="转单费配置">转单费配置</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
                <dl class="layui-nav-child" th:if="${#authPermit.checkMenuPermit('/conf/basic/*.action')}">
                    <dd data-name="button">
                        <a href="javascript:void(0);">基础配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/conf/basic/engineer/*.action')}">
                                <a href="javascript:void(0);">工程师配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/basic/engineer/share/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/basic/engineer/share/list.action|"
                                           lay-text="基础分润">基础分润</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/basic/engineer/cooperation/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/basic/engineer/cooperation/list.action|"
                                           lay-text="合作时长">合作时长</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/basic/engineer/comment/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/basic/engineer/comment/list.action|"
                                           lay-text="星级评分">星级评分</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/basic/engineer/tech/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/basic/engineer/tech/list.action|"
                                           lay-text="技术等级">技术等级</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/basic/direct/*')}">
                                <a href="javascript:void(0);">直营服务商配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/basic/direct/index/plat')}">
                                        <a th:lay-href="|${erpURL}/conf/basic/direct/index/plat|"
                                           lay-text="基础分润">基础分润</a>
                                    </dd>
                                </dl>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/basic/sp/*')}">
                                <a href="javascript:void(0);">非直营服务商配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/basic/sp/index/plat')}">
                                        <a th:lay-href="|${erpURL}/conf/basic/sp/index/plat|" lay-text="基础分润">基础分润</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/conf/basic/manager/list.action')}">
                                <a href="javascript:void(0);">产品主管配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/basic/manager/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/basic/manager/list.action|"
                                           lay-text="基础分润">基础分润</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/deduction/list.action')}">
                                <a href="javascript:void(0);">服务商扣款配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/deduction/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/deduction/list.action|"
                                           lay-text="服务商扣款">服务商扣款</a>
                                    </dd>
                                </dl>
                            </dd>

                        </dl>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/perf/conf/*.action')}">
                        <a href="javascript:void(0);">绩效配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/conf/company/rule/index/plat')}">
                                <a th:lay-href="|${perfURL}/conf/company/rule/index/plat|" lay-text="服务商绩效考核方案配置">服务商绩效考核方案配置</a>
                            </dd>
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/conf/evaluate/rule/list.action')}">
                                <a th:lay-href="|${perfURL}/conf/evaluate/rule/list.action|"
                                   lay-text="行为指标规则">行为指标规则</a>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/engineer/rule/*')}">
                                <a href="javascript:void(0);">工程师绩效方案</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/engineer/rule/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/engineer/rule/plat|"
                                           lay-text="工程师绩效方案">工程师绩效方案</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/engineer/rule/config/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/engineer/rule/config/plat|"
                                           lay-text="服务商应用设置">服务商应用设置</a>
                                    </dd>
                                </dl>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/perf/conf/engineer/*.action')}">
                                <a href="javascript:void(0);">工程师配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/engineer/normal/share/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/engineer/normal/share/list.action|"
                                           lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/engineer/index/share/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/engineer/index/share/list.action|"
                                           lay-text="行为指标分润">行为指标分润</a>
                                    </dd>
                                </dl>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/company/direct/*')}">
                                <a href="javascript:void(0);">直营服务商配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/company/direct/total/index/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/company/direct/total/index/plat|"
                                           lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/company/direct/behaviour/index/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/company/direct/behaviour/index/plat|"
                                           lay-text="行为指标分润">行为指标分润</a>
                                    </dd>
                                </dl>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/company/normal/*')}">
                                <a href="javascript:void(0);">非直营服务商配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/company/normal/total/index/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/company/normal/total/index/plat|"
                                           lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/company/normal/behaviour/index/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/company/normal/behaviour/index/plat|"
                                           lay-text="行为指标分润">行为指标分润</a>
                                    </dd>
                                </dl>
                            </dd>
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/conf/manager/normal/list.action')}">
                                <a href="javascript:void(0);">产品主管配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/manager/normal/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/manager/normal/list.action|" lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                </dl>
                            </dd>
                        </dl>
                    </dd>
                </dl>

                <!-- 新绩效配置 -->
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/perf/five/conf/*.action')}">
                        <a href="javascript:void(0);">新绩效配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/conf/evaluate/rule/list.action')}">
                                <a th:lay-href="|${perfURL}/conf/evaluate/rule/list.action|"
                                   lay-text="行为指标规则">行为指标规则</a>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false, '/conf/five/default/engineer/plat/list.action', '/conf/five/default/supervisor/plat/list.action', '/conf/five/default/sp/plat/list.action')}">
                                <a href="javascript:void(0);">新入职绩效方案配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/default/engineer/plat/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/default/engineer/list.action|"
                                           lay-text="新入职工程师">新入职工程师</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/default/supervisor/plat/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/default/supervisor/list.action|"
                                           lay-text="新入职主管">新入职主管</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/default/sp/plat/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/default/sp/list.action|"
                                           lay-text="新入职服务商">新入职服务商</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false, '/conf/five/engineer/rule/index/list.action', '/conf/five/engineer/plan/evaluate/list.action', '/conf/five/engineer/plan/score/list.action')}">
                                <a href="javascript:void(0);">工程师方案库</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/engineer/rule/index/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/rule/index/list.action?identityType=1|"
                                           lay-text="绩效指标规则库">绩效指标规则库</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/engineer/plan/evaluate/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/plan/evaluate/list.action?plat=0&identityType=1|"
                                           lay-text="绩效考核方案库">绩效考核方案库</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/engineer/plan/score/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/plan/score/list.action?plat=0&identityType=1|"
                                           lay-text="综合得分方案库">综合得分方案库</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false,'/conf/five/engineer/normal/list.action','/conf/five/engineer/index/share/list.action')}">
                                <a href="javascript:void(0);">工程师配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/engineer/normal/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/normal/list.action?plat=0&identityType=1|"
                                           lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/engineer/index/share/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/engineer/index/share/list.action|"
                                           lay-text="行为指标分润">行为指标分润</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false, '/conf/five/supervisor/rule/index/list.action', '/conf/five/supervisor/plan/evaluate/list.action', '/conf/five/supervisor/plan/score/list.action')}">
                                <a href="javascript:void(0);">主管方案库</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/supervisor/rule/index/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/rule/index/list.action?identityType=2|"
                                           lay-text="绩效指标规则库">绩效指标规则库</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/supervisor/plan/evaluate/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/plan/evaluate/list.action?plat=0&identityType=2|"
                                           lay-text="绩效考核方案库">绩效考核方案库</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/supervisor/plan/score/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/plan/score/list.action?plat=0&identityType=2|"
                                           lay-text="综合得分方案库">综合得分方案库</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/five/supervisor/normal/list.action')}">
                                <a href="javascript:void(0);">主管配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/supervisor/normal/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/normal/list.action?plat=0&identityType=2|"
                                           lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false, '/conf/five/sp/direct/rule/index/list.action', '/conf/five/sp/rule/index/list.action', '/conf/five/sp/direct/plan/evaluate/list.action', '/conf/five/sp/plan/evaluate/list.action', '/conf/five/sp/direct/plan/score/list.action', '/conf/five/sp/plan/score/list.action')}">
                                <a href="javascript:void(0);">服务商方案库</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermits(false, '/conf/five/sp/direct/rule/index/list.action', '/conf/five/sp/rule/index/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/rule/index/list.action?identityType=3|"
                                           lay-text="绩效指标规则库">绩效指标规则库</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermits(false, '/conf/five/sp/direct/plan/evaluate/list.action', '/conf/five/sp/plan/evaluate/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/plan/evaluate/list.action?plat=0&identityType=3|"
                                           lay-text="绩效考核方案库">绩效考核方案库</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermits(false, '/conf/five/sp/direct/plan/score/list.action', '/conf/five/sp/plan/score/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/plan/score/list.action?plat=0&identityType=3|"
                                           lay-text="综合得分方案库">综合得分方案库</a>
                                    </dd>
                                </dl>
                            </dd>

                            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false,'/conf/five/sp/direct/normal/list.action','/conf/five/company/direct/behaviour/index/plat')}">
                                <a href="javascript:void(0);">直营服务商配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/sp/direct/normal/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/normal/list.action?plat=0&identityType=4|"
                                           lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/company/direct/behaviour/index/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/five/company/direct/index/share/plat|"
                                           lay-text="行为指标分润">行为指标分润</a>
                                    </dd>
                                </dl>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false,'/conf/five/sp/normal/list.action','/conf/five/company/normal/behaviour/index/plat')}">
                                <a href="javascript:void(0);">非直营服务商配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/sp/normal/list.action')}">
                                        <a th:lay-href="|${perfURL}/conf/five/normal/list.action?plat=0&identityType=3|"
                                           lay-text="综合绩效分润">综合绩效分润</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/five/company/normal/behaviour/index/plat')}">
                                        <a th:lay-href="|${perfURL}/conf/five/company/indirect/index/share/plat|"
                                           lay-text="行为指标分润">行为指标分润</a>
                                    </dd>
                                </dl>
                            </dd>

                        </dl>
                    </dd>
                </dl>

                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/subsidy/*.action')}">
                        <a href="javascript:void(0);">补贴配置</a>
                        <dl class="layui-nav-child">
                            <dd data-name="list"
                                th:if="${#authPermit.checkMenuPermit('/conf/subsidy/engineer/*.action')}">
                                <a href="javascript:void(0);">工程师配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/engineer/area/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/engineer/area/list.action|"
                                           lay-text="区域补贴">区域补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/engineer/recmd/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/engineer/recmd/list.action|"
                                           lay-text="加单奖励">加单奖励</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/engineer/duration/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/engineer/duration/list.action|"
                                           lay-text="时间段补贴">时间段补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/engineer/distance/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/engineer/distance/list.action|"
                                           lay-text="远程补贴">远程补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/engineer/urgent/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/engineer/urgent/list.action|"
                                           lay-text="加急补贴">加急补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/engineer/temporary/list.action')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/engineer/temporary/list.action|"
                                           lay-text="厂家/渠道补贴">厂家/渠道补贴</a>
                                    </dd>
                                </dl>
                            </dd>
                            <dd data-name="list" th:if="${#authPermit.checkMenuPermit('/conf/subsidy/sp/*')}">
                                <a href="javascript:void(0);">非直营服务商配置</a>
                                <dl class="layui-nav-child">
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/sp/area/plat')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/sp/area/plat|" lay-text="区域补贴">区域补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/sp/duration/plat')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/sp/duration/plat|" lay-text="时间段补贴">时间段补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/sp/distance/plat')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/sp/distance/plat|"
                                           lay-text="远程补贴">远程补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/sp/urgent/plat')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/sp/urgent/plat|"
                                           lay-text="加急补贴">加急补贴</a>
                                    </dd>
                                    <dd data-name="button"
                                        th:if="${#authPermit.checkMenuPermit('/conf/subsidy/sp/temporary/plat')}">
                                        <a th:lay-href="|${erpURL}/conf/subsidy/sp/temporary/plat|" lay-text="厂家/渠道补贴">厂家/渠道补贴</a>
                                    </dd>
                                </dl>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- KPI -->
        <dl class="layui-nav-child show">
            <dd data-name="kpi" th:if="${#authPermit.checkMenuPermit('/report/kpi/*')}">
                <a href="javascript:;" lay-direction="2">
                    <i class="layui-icon layui-icon-chart-screen"></i>
                    <cite>绩效得分</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/report/kpi/engineer/list')}">
                        <a th:lay-href="|${perfURL}/report/kpi/engineer/list|">工程师绩效得分</a>
                    </dd>
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/report/kpi/supervisor/list')}">
                        <a th:lay-href="|${perfURL}/report/kpi/supervisor/list|">产品主管绩效得分</a>
                    </dd>
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/report/kpi/sp/list?spType=1')}">
                        <a th:lay-href="|${perfURL}/report/kpi/sp/list?spType=10|">直营服务商绩效得分</a>
                    </dd>
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/report/kpi/sp/list?spType=2')}">
                        <a th:lay-href="|${perfURL}/report/kpi/sp/list?spType=20|">非直营服务商绩效得分</a>
                    </dd>

                    <!--old-->
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/perf/settle/masterKpi.action')}">
                        <a th:lay-href="|${perfURL}/settle/kpi/master/list|" lay-tips="仅供老数据查询使用">工程师绩效得分-旧版</a>
                    </dd>
                    <dd data-name="grid" th:if="${#authPermit.checkMenuPermit('/perf/kpi/company/list.action')}">
                        <a th:lay-href="|${perfURL}/settle/kpi/company/list|" lay-tips="仅供老数据查询使用">服务商绩效得分-旧版</a>
                    </dd>
                </dl>
            </dd>
        </dl>
        <!-- 开票系统 -->
        <dl class="layui-nav-child show">
            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false, '/invoice/manage/*.action')}">
                <a href="javascript:;" lay-tips="开票系统" lay-direction="2">
                    <i class="layui-icon layui-icon-chart-screen"></i>
                    <cite>开票系统</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/invoice/manage/list.action')}">
                        <a th:lay-href="|${erpURL}/invoice/manage/list.action|">开票管理</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/invoice/register/company/list')}">
                        <a th:lay-href="|${erpURL}/invoice/register/company/list.action|">注册企业</a>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd th:if="${#authPermit.checkMenuPermit('/invoice/register/personal/list')}">
                        <a th:lay-href="|${erpURL}/invoice/register/personal/list.action|">注册个体</a>
                    </dd>
                </dl>
            </dd>
        </dl>

        <!-- 风控管理 -->
        <dl class="layui-nav-child show">
            <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false,'/riskmanage/*.action')}">
                <a href="javascript:;" lay-tips="风控管理" lay-direction="2">
                    <i class="layui-icon layui-icon-chart-screen"></i>
                    <cite>风控管理</cite>
                </a>
                <dl class="layui-nav-child">
                    <dd data-name="list"
                        th:if="${#authPermit.checkMenuPermits(false,'/riskmanage/banksettle/*.action')}">
                        <a href="javascript:void(0);">银行结算</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/bank/advance/list.action')}">
                                <a lay-tips="啄木鸟-垫资结算" th:lay-href="|${erpURL}/zmn/statement/bank/advance/list.action|"
                                   lay-text="啄木鸟-垫资结算">啄木鸟-垫资结算</a>
                            </dd>
                        </dl>
                        <!--<dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/zmn/statement/bank/agentpay/list.action')}">
                                <a lay-tips="啄木鸟-代付结算" th:lay-href="|${erpURL}/zmn/statement/bank/agentpay/list.action|"
                                   lay-text="啄木鸟-代付结算">啄木鸟-代付结算</a>
                            </dd>
                        </dl>-->
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/yeyx/statement/bank/advance/list.action')}">
                                <a lay-tips="言而有信-垫资结算" th:lay-href="|${erpURL}/yeyx/statement/bank/advance/list.action|"
                                   lay-text="言而有信-垫资结算">言而有信-垫资结算</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
                <dl class="layui-nav-child">
                    <dd data-name="list" th:if="${#authPermit.checkMenuPermits(false,'/riskmanage/bankrisk/*.action')}">
                        <a href="javascript:void(0);">银行风控</a>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/account/monitor/accounterror/errormsgnotify.action')}">
                                <a th:lay-href="|${financeURL}/account/monitor/accounterror/errormsgnotify.action|"
                                   lay-text="异常消息通知">异常消息通知</a>
                            </dd>
                        </dl>
                        <dl class="layui-nav-child">
                            <dd data-name="button"
                                th:if="${#authPermit.checkMenuPermit('/account/monitor/accountdetail/detail.action')}">
                                <a th:lay-href="|${financeURL}/account/monitor/accountdetail/detail.action|"
                                   lay-text="银行监控">银行监控</a>
                            </dd>
                        </dl>
                    </dd>
                </dl>
            </dd>
        </dl>
    </li>
</th:block>
</body>
</html>
